from django.urls import path
from . import views

urlpatterns = [
    path('admin/login', views.LoginView.as_view(), name='login'),
    path('admin/logout', views.LogoutView.as_view(), name='logout'),

    path('admin/get/', views.AdminUserListView.as_view(), name='get_user_list'),
    path('admin/<int:user_id>/', views.AdminUserEditView.as_view(), name='edit_user'),

    path('blog/get/', views.BlogUserInfoView.as_view(), name='blog_user_info'),

    path('admin/getall/', views.UserDetailView.as_view(), name='user_info_all'),
    path('admin/edit/', views.UserEditView.as_view(), name='user_info_edit')
]
